/**
 * Created by Eoly on 2017/3/29.
 * Call http://palerock.cn
 */

var pageGroup = app.pageGroup;

// 添加路由页面

pageGroup.addPage('login-page/login.html');
pageGroup.addPage('home-page/home.html');
pageGroup.addPage('search-page/search.html');
pageGroup.addPage('register-page/register.html');
pageGroup.addPage('release-page/release.html');
pageGroup.addPage('forget-page/forget.html');
pageGroup.addPage('forget-page/password_setting.html');
pageGroup.addPage('personal-home-page/personal_home.html');
pageGroup.addPage('settings-page/settings.html');
pageGroup.addPage('follow-people-page/follow_people.html');
pageGroup.addPage('alter-information-page/alter-information.html');
pageGroup.addPage('liker-page/liker.html');
pageGroup.addPage('other-home-page/other_home.html');
pageGroup.addPage('mycollection-page/mycollection.html');
pageGroup.addPage('mypraise-page/mypraise.html');
pageGroup.addPage('account-management-page/account-management.html');
pageGroup.addPage('release-success-page/release_success.html');
pageGroup.addPage('recommend-page/recommend.html');
pageGroup.addPage('review-page/review.html');
pageGroup.addPage('review-more-page/review_more.html');
pageGroup.addPage('verify-page/verify.html');
// 设置默认页面
pageGroup.setDefault('/home');


// 初始化路由
pageGroup.buildRouter(app);